import 'package:flutter/material.dart';

import '../widgets/input_field.dart';

class SubmitPage extends StatelessWidget {
  final String title;
  final String hintText;

  const SubmitPage({
    super.key,
    required this.title,
    required this.hintText,
  });

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(title), actions: [TextButton(onPressed: (){}, child: Text('提交'))]),
      body: Container(
        child: InputField(
          hintText: hintText,
          maxLines: 10,
          borderRadius: 10,
          backgroundColor: Colors.grey.withOpacity(0.2),
        ),
      ),
    );
  }
}
